//=============================================================================
// File name:   include.v
// Author:      Cody Cziesler
//
// Description: This file includes all of the defines necessary for the seg7
//              project
//
//=============================================================================
`timescale 1us / 1ns
// The following describes the conversion between a binary number and its 
// seven-segment equivilency. Note that they are active-low signals (thus
// the bit-wise not before each number)
//                 ABCDEFG
`define SEG_0 ~(7'b1111110)
`define SEG_1 ~(7'b0110000)
`define SEG_2 ~(7'b1101101)
`define SEG_3 ~(7'b1111001)
`define SEG_4 ~(7'b0110011)
`define SEG_5 ~(7'b1011011)
`define SEG_6 ~(7'b1011111)
`define SEG_7 ~(7'b1110000)
`define SEG_8 ~(7'b1111111)
`define SEG_9 ~(7'b1111011)
`define SEG_A ~(7'b1110111)
`define SEG_B ~(7'b0011111)
`define SEG_C ~(7'b1001110)
`define SEG_D ~(7'b0111101)
`define SEG_E ~(7'b1001111)
`define SEG_F ~(7'b1000111)

// The following shows the outputs of each of the anodes. Note that they are
// active-low signals.
`define AN_1 4'b1110
`define AN_2 4'b1101
`define AN_3 4'b1011
`define AN_4 4'b0111
